<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title></title>
	<script src="./js/vue.js" type="text/javascript" charset="utf-8"></script>
    <script src="js/mui.min.js"></script>
    <link href="css/mui.min.css" rel="stylesheet"/>
	<style>
		#app{
			text-align: center;
			margin-top: 20px;
		}
	</style>
</head>
<body>
	<header class="mui-bar mui-bar-nav">
		<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
		<h1 class="mui-title">标题</h1>
	</header>
	<div class="mui-content" id="app">
		 <componetn-my></componetn-my>
	</div>
	<script type="text/x-template" id="tempID">
		<div>
			组件内容
		</div>
	</script>
	<script type="text/javascript">
		var vm = new Vue({
			el:"#app",
			data:{
			},
			components:{
				'componetn-my':{
					template:"#tempID"
				}
			}
			
		}) 
	</script>
</body>
</html>